Skip to content

[6.x] Fix nav:breadcrumbs for multi-site#13789

Merged
jasonvarga merged 5 commits into
statamic:6.xfrom
nopticon:fix/nav-breadcrumbs-multisite
May 11, 2026
Merged

[6.x] Fix nav:breadcrumbs for multi-site#13789
jasonvarga merged 5 commits into
statamic:6.xfrom
nopticon:fix/nav-breadcrumbs-multisite

Conversation

@nopticon
Copy link
Copy Markdown
Contributor

@nopticon nopticon commented Feb 2, 2026

What is the issue

Using {{ nav:breadcrumbs }} on multi-site, it fails to generate links when Site URL is configured as: {{ config:app:url }}/path/

So for example you can go to collection route with parent and children like: https://example.test/path/entry/child/sub-child

It generates just one link to "Home", no other links to navigate backwards.

image

What this PR Does

It generates the correct links now for all kind of site configs. It respects new enforceTrailingSlashes.

image

Related #11840

@nopticon nopticon marked this pull request as draft February 2, 2026 14:19
@nopticon nopticon marked this pull request as ready for review February 2, 2026 16:05
@LucaPipolo
Copy link
Copy Markdown

Any news on that one? This bug has quite an impact and its open since February. Are there any plans to merge this?

jasonvarga and others added 2 commits May 11, 2026 12:14
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jasonvarga jasonvarga merged commit c9ec3ac into statamic:6.x May 11, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants